package io.renren.modules.sjdriverapply.service.impl;

import io.renren.modules.sjdriverapply.dao.SjDriverApplyDao;
import io.renren.modules.sjdriverapply.entity.SjDriverApplyEntity;
import io.renren.modules.sjdriverapply.service.SjDriverApplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;





@Service("sjDriverApplyService")
public class SjDriverApplyServiceImpl implements SjDriverApplyService {
	@Autowired
	private SjDriverApplyDao sjDriverApplyDao;
	
	@Override
	public SjDriverApplyEntity queryObject(Long id){
		return sjDriverApplyDao.queryObject(id);
	}
	
	@Override
	public List<SjDriverApplyEntity> queryList(Map<String, Object> map){
		return sjDriverApplyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sjDriverApplyDao.queryTotal(map);
	}
	
	@Override
	public void save(SjDriverApplyEntity sjDriverApply){
		sjDriverApplyDao.save(sjDriverApply);
	}

	@Override
	public void update(SjDriverApplyEntity sjDriverApply){
		sjDriverApplyDao.update(sjDriverApply);
	}
	
	@Override
	public void delete(Long id){
		sjDriverApplyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		sjDriverApplyDao.deleteBatch(ids);
	}
	
}
